2020-2021 Sunseeker Telemetry and Lighting System
lcd_e_ex1_4_mux.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

LCD_E, 4-Mux example, display a string "123456" on LCD. This examples shows how to config LCD_E in 4-Mux mode with DriverLib functions on the MSP430FR4133 LaunchPad. It uses the Mode 3 (see User's Guide for details) for voltage generation. Therefore the charge pump and bias voltage generator are used to generate V1, V2 and V4. V5 is connected to ground. Three external 0.1 uF capacitors are required to connected to R13, R23 and R33 respectively, and one 4.7 uF capacitor needs to connect between charge pump LCDCAP0 and LCDCAP1.

It uses LCD_E L1~L4 as COMs and maps pin to the corresponding COM (e.g. L1 -> COM1), and L4~L39 (except L27~L35) as segment pins. f(LCD) = 32768Hz/((7+1)*16) = 256Hz, ACLK = default REFO ~32768Hz, MCLK = SMCLK = default DCODIV ~1MHz.

         MSP-EXP430FR4133
            LaunchPad
        -----------------
    /|\|                 |
     | |              XIN|--

GND –|RST | ~32768Hz | | XOUT|– |–0.1uF–|R13 | |–0.1uF–|R23 (L3)COM3|-------------—| |–0.1uF–|R33 (L2)COM2|------------—|| –|LCDC2 (L1)COM1|-----------—||| 4.7uF | (L0)COM0|----------—|||| –|LCDC1 | ----------— | L4~L39|—| 1 2 3 4 5 6 | | except L27~L35| ----------— | | TI LCD

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • LCD_E
  • GPIO Port peripheral (for LCD_E pins)

Definition at line 74 of file lcd_e_ex1_4_mux.c.